<div class="tabs">
    <div class="title">
        <a href="javascript:void(0);" class="active">登录</a>
        <a href="javascript:void(0);">注册</a>
    </div>
    <!-- ————————————————————————————————————登录界面 -->
    <div class="part-body">
        <div class="ViewAuthPartSignIn">
            <form action="">
                <!-- 用户名 -->
                <div class="FormItem">
                    <div class="form-item-label">用户名</div>
                    <div class="form-item-input">
                        <div class="FormInput">
                            <input type="tel" id="username1" placeholder="请输入用户名">
                        </div>
                    </div>
                </div>
                <!-- 密码 -->
                <div class="FormItem">
                    <div class="form-item-label">密码</div>
                    <div class="form-item-input">
                        <div class="FormInput">
                            <input type="password" id="password1" placeholder="请输入6-20位密码">
                        </div>
                    </div>
                </div>
            </form>
            <!-- 点击提交按钮 -->
            <div class="BtnGroup">
                <a href="javascript:void(0);" class="Btn1">点击登录</a>
            </div>

        </div>

    </div>
    <!-- ————————————————————————————————————注册界面 -->
    <div class="part-body" style="display: none;">
        <div class="ViewAuthPartSignIn">
            <form action="">
                <!-- 用户名 -->
                <div class="FormItem">
                    <div class="form-item-label">用户名</div>
                    <div class="form-item-input">
                        <div class="FormInput">
                            <input type="tel" id="username2" placeholder="请输入用户名">
                        </div>
                    </div>
                </div>
                <!-- 密码 -->
                <div class="FormItem">
                    <div class="form-item-label">密码</div>
                    <div class="form-item-input">
                        <div class="FormInput">
                            <input type="password" id="password2" placeholder="请输入6-20位密码">
                        </div>
                    </div>
                </div>
            </form>
            <!-- 点击提交按钮 -->
            <div class="BtnGroup">
                <a href="javascript:void(0);" class="Btn2">点击注册</a>
            </div>
        </div>

    </div>
</div>

<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.js"></script>
<script src="./javascripts/tab.js"></script>
<script src="./javascripts/login.js"></script>